package com.base.self.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.base.self.entity.Commodity;
import com.base.self.entity.Ptgoldbean;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PtgoldbeanMapper  extends BaseMapper<Ptgoldbean> {
    /**
     * 获取用户拥有金豆数量
     * @param userId 用户id
     * @return 用户拥有金豆数量
     */
    Integer userGoldbeans(String userId);

}
